package figuriConcrete;
import figuriAbstracte.*;
import java.math.*;

public class Circle extends RoundFigure{
	private double raza;
	public Circle(double r)
	{
		this.raza=r;
	}
	public double getLength()
	{
		return 2*Math.PI*raza;
	}
	public double getArea()
	{
		return 4*Math.PI*raza*raza;
	}
	public String toString()
	{
		return "Cercul are lungime razei de "+this.raza;
	}

}
